<?php $this->load->view('inc_head');?>
<body>
	<div id="navigation">
		<div class="wrapper">
			<div class="right logo">
				<a href="/"><img src="<?=$config['site_templateurl'];?>/images/logo.png" alt="骚客"/></a>
			</div>
			<?php $this->load->view('inc_nav');?>

			<div class="right thlogin"><div>
			<a href="#" class="sina">新浪微博帐号注册</a>
			<span>|</span>
			<a href="#" class="qq">QQ帐号注册</a>
			</div></div>

			<div class="topinfo"><span class="single">一个与你情趣相似的地方</span></div>

			<div class="clear linet"></div>
		</div>
	</div>

	<div class="wrapper" id="maincontainer">
		<div class="left" id="container">
			<img src="<?=$config['site_templateurl'];?>/pic/pb1.jpg" alt="忘记密码"/>
			<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
		</div>
		<div class="right" id="sidebar">
			<?php if(isset($isreset) && $isreset):?>
			<form name="forgot" class="forgotform" method="post">
			<p>请填写新密码以重置帐户密码</p>
			<div class="clearfix textline">
			<label>
			<span>新密码</span>
			<input type="password" class="text" required="required" name="password" />
			</label>
			</div>
			<div class="clearfix textline">
			<label>
			<span>确认密码</span>
			<input type="password" class="text" required="required" name="repassword"  />
			</label>
			</div>
			<div class="submitline">
			<input type="submit" class="ani button" name="submit" value="重置密码" />
			</div>
			</form>
				
			<?php else:?>
			<form name="forgot" class="forgotform" method="post">
			<p>填写用户名和邮箱，我们将发送重置密码的授权链接给您，提交之后请注意查收邮件</p>
			<div class="clearfix textline">
			<label>
			<span>用户名</span>
			<input type="text" class="text" required="required" name="username" placeholder="一个您在骚客的唯一标识" />
			</label>
			</div>
			<div class="clearfix textline">
			<label>
			<span>邮　箱</span>
			<input type="text" class="text" required="required" name="email" placeholder="您注册时使用的邮箱" />
			</label>
			</div>
			<div class="submitline">
			<input type="submit" class="ani button" name="submit" value="验证邮箱" />
			</div>
			</form>
			<?php endif;?>
		</div>
		<script type="text/javascript" >
			$(document.forgot).validation();
			</script>
		<div class="clear"></div>
	</div>

	<?php $this->load->view('inc_footer');?>
</body>
</html>